package com.baidu.mpks.backendweb.ktree.dto;

import com.baidu.mpks.datasource.dto.SourceDto;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class KTreeResponse {
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List<SourceDto> items;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer count;
}
